<div class="painel40">
<%= titulo_form "Origem Militar" %>

<div class="paineldecontrole">
  <%= link_to image_tag('novo.gif'), new_militarorigin_path %>
</div>

<table cellpadding="0" cellspacing="0" width="100%">
  <%= cabecalho_tabela "Código","Nome" %>

<% @militarorigins.each do |militarorigin| %>
  <tr>
    <td><%=h militarorigin.id %></td>
    <td><%=h militarorigin.nome %></td>
    
    <td>
        <%= link_to image_tag('editar.gif'), edit_militarorigin_path(militarorigin) %>
        <%= link_to image_tag('remover.gif'), militarorigin, :confirm => 'Are you sure?', :method => :delete %>
    </td>
  </tr>
<% end %>
</table>

</div>